package com.qf.day03.loop;

public class ForDemo01 {
    public static void main(String[] args) {

        extracted(5);
    }

    private static void extracted(int lineNum) {
        for (int i = 0; i < lineNum; i++) {
            for (int j = lineNum; j>i ; j--) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
